package com.fruit.service.lightpay;

import java.util.Map;

import com.fruit.pojo.lightpay.LightPayCashier;

public interface LightPayManager {
	
	/**
	 * 通过交易流水编号查询
	 * @param transactionCode
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> getTransactionFlow(String tradeId,String transactionCode);
	
	/**
	 * 支付宝保存收银台数据
	 * @param lpc
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> saveAlipayPayCashier(String tradeId,LightPayCashier lpc);
	
	/**
	 * 微信保存收银台数据
	 * @param lpc
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> saveWechatPayCashier(String tradeId,LightPayCashier lpc);
	
	/**
	 * 通过CODE 获取收银记录
	 * @param code
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> getLightpayCashierByCode(String code);

}
